// components/c-button/c-button.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    isMini: {
      type: Boolean,
      value: false
    },
    type: {
      type: String,
      value: "None"
    },
    isClick: {
      type: Boolean,
      value: false
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    types: [{
      top: "#D7E1FB",
      topA: "rgb(3A81D3)",
      f: "#3A81D3",
      fA: "#848484",
      t:"关注",
      tA:"已关注"
    }],
    select:{
      type:Number,
      value:0
    }
  },

  /**
   * 组件的方法列表
   */
  methods: {
    click() {
      this.setData({
        isClick: !this.data.isClick
      })
    }
  }
})